﻿// =================================================================== 
// 项目说明
//====================================================================
// liucx @Copy Right 2019
// 文件： InsureEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/9/17
// 负责人：liucx
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///数据实体  
    /// </summary>
    [PrimaryKey("InsureID")]
    public class Insure
    {
        ///<summary>
        ///
        ///</summary>
        public Insure()
        {
        }


        ///<summary>
        ///
        ///</summary>
        [Column("InsureID", "")]
        public int InsureID { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        [Column("UserID", "用户ID")]
        public int UserID { get; set; }

        ///<summary>
        ///号牌号码
        ///</summary>
        [Column("PlateNo", "号牌号码")]
        public string PlateNo { get; set; }

        ///<summary>
        ///发动机号
        ///</summary>
        [Column("EngineNo", "发动机号")]
        public string EngineNo { get; set; }

        ///<summary>
        ///保险单号
        ///</summary>
        [Column("InsureNum", "保险单号")]
        public string InsureNum { get; set; }

        ///<summary>
        ///车辆识别代码
        ///</summary>
        [Column("VIN", "车辆识别代码")]
        public string VIN { get; set; }

        ///<summary>
        ///生效日期
        ///</summary>
        [Column("BeginDate", "生效日期")]
        public DateTime BeginDate { get; set; }

        ///<summary>
        ///终止日期
        ///</summary>
        [Column("EndDate", "终止日期")]
        public DateTime EndDate { get; set; }

        ///<summary>
        ///保险公司
        ///</summary>
        [Column("CompanyName", "保险公司")]
        public string CompanyName { get; set; }

        ///<summary>
        ///投保人
        ///</summary>
        [Column("InsureUser", "投保人")]
        public string InsureUser { get; set; }

        ///<summary>
        ///投保人身份证
        ///</summary>
        [Column("InsureUserIDNum", "投保人身份证")]
        public string InsureUserIDNum { get; set; }

        ///<summary>
        ///被保人
        ///</summary>
        [Column("InsuredUser", "被保人")]
        public string InsuredUser { get; set; }

        ///<summary>
        ///被保人身份证
        ///</summary>
        [Column("InsuredUserIDNum", "被保人身份证")]
        public string InsuredUserIDNum { get; set; }

        ///<summary>
        ///车主姓名
        ///</summary>
        [Column("OwnerName", "车主姓名")]
        public string OwnerName { get; set; }

        ///<summary>
        ///车主身份证号
        ///</summary>
        [Column("OwnerIDNum", "车主身份证号")]
        public string OwnerIDNum { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreatedDate", "创建时间")]
        public DateTime CreatedDate { get; set; }

        ///<summary>
        ///逻辑标识(1有效0无效)
        ///</summary>
        [Column("IsActive", "逻辑标识(1有效0无效)")]
        public int IsActive { get; set; }

    }
}